package com.viphome.repository;


import com.viphome.domain.Employee;
import org.springframework.data.repository.Repository;

/**
 * Created by wangzhanjin on 2017/12/21.
 * EmployeeRepository要操作的对象是Repository
 */
public interface EmployeeRepository extends Repository<Employee,Integer> {

    Employee findByName(String name);
}
